package com.tonann.app.VO;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class EnergyDashboardRoom implements Serializable {
    private Long deviceId;
    private String name;
    private Integer totalSize = 0;
    private Integer onlineSize= 0;
    private Integer exceptionSize= 0;
    private BigDecimal onlineRate = BigDecimal.ZERO;
    private BigDecimal energy = BigDecimal.ZERO;
    private BigDecimal voltage = BigDecimal.ZERO;
    private int existPhaseA = 0;
    private int existPhaseB = 0;
    private int existPhaseC = 0;
    private BigDecimal curr = BigDecimal.ZERO;
    private BigDecimal power = BigDecimal.ZERO;
    private BigDecimal phaseAVoltage = BigDecimal.ZERO;
    private BigDecimal phaseBVoltage = BigDecimal.ZERO;
    private BigDecimal phaseCVoltage = BigDecimal.ZERO;
    private BigDecimal phaseACurr = BigDecimal.ZERO;
    private BigDecimal phaseBCurr = BigDecimal.ZERO;
    private BigDecimal phaseCCurr = BigDecimal.ZERO;
    private BigDecimal positivePower = BigDecimal.ZERO;
    private BigDecimal negativePower = BigDecimal.ZERO;
    private BigDecimal positiveEnergy = BigDecimal.ZERO;
    private BigDecimal negativeEnergy = BigDecimal.ZERO;
}
